//
// Created by ziya on 22-9-15.
//

#include "../include/common.h"

void* Calloc(size_t __nmemb, size_t __size) {
    INFO_PRINT("calloc: 多少份: %d, 每份大小: %d\n", __nmemb, __size);

    void* p = calloc(__nmemb, __size);
    if (NULL == p) {
        ERROR_PRINT("calloc fail\n");
        exit(-1);
    }

    return p;
}